﻿// Decompiled with JetBrains decompiler
// Type: UnityEngine.RenderTextureFormat
// Assembly: UnityEngine.CoreModule, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: E6AE6B5A-2752-4B07-9528-C8B77C62CE79
// Assembly location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.dll
// XML documentation location: C:\Users\windys\Unity\2021.3.39f1c1\Editor\Data\Managed\UnityEngine\UnityEngine.CoreModule.xml

#nullable disable
namespace UnityEngine
{
  /// <summary>
  ///   <para>Format of a RenderTexture.</para>
  /// </summary>
  public enum RenderTextureFormat
  {
    /// <summary>
    ///   <para>Color render texture format, 8 bits per channel.</para>
    /// </summary>
    ARGB32 = 0,
    /// <summary>
    ///   <para>A depth render texture format.</para>
    /// </summary>
    Depth = 1,
    /// <summary>
    ///   <para>Color render texture format, 16 bit floating point per channel.</para>
    /// </summary>
    ARGBHalf = 2,
    /// <summary>
    ///   <para>A native shadowmap render texture format.</para>
    /// </summary>
    Shadowmap = 3,
    /// <summary>
    ///   <para>Color render texture format.</para>
    /// </summary>
    RGB565 = 4,
    /// <summary>
    ///   <para>Color render texture format, 4 bit per channel.</para>
    /// </summary>
    ARGB4444 = 5,
    /// <summary>
    ///   <para>Color render texture format, 1 bit for Alpha channel, 5 bits for Red, Green and Blue channels.</para>
    /// </summary>
    ARGB1555 = 6,
    /// <summary>
    ///   <para>Default color render texture format: will be chosen accordingly to Frame Buffer format and Platform.</para>
    /// </summary>
    Default = 7,
    /// <summary>
    ///   <para>Color render texture format. 10 bits for colors, 2 bits for alpha.</para>
    /// </summary>
    ARGB2101010 = 8,
    /// <summary>
    ///   <para>Default HDR color render texture format: will be chosen accordingly to Frame Buffer format and Platform.</para>
    /// </summary>
    DefaultHDR = 9,
    /// <summary>
    ///   <para>Four color render texture format, 16 bits per channel, fixed point, unsigned normalized.</para>
    /// </summary>
    ARGB64 = 10, // 0x0000000A
    /// <summary>
    ///   <para>Color render texture format, 32 bit floating point per channel.</para>
    /// </summary>
    ARGBFloat = 11, // 0x0000000B
    /// <summary>
    ///   <para>Two color (RG) render texture format, 32 bit floating point per channel.</para>
    /// </summary>
    RGFloat = 12, // 0x0000000C
    /// <summary>
    ///   <para>Two color (RG) render texture format, 16 bit floating point per channel.</para>
    /// </summary>
    RGHalf = 13, // 0x0000000D
    /// <summary>
    ///   <para>Scalar (R) render texture format, 32 bit floating point.</para>
    /// </summary>
    RFloat = 14, // 0x0000000E
    /// <summary>
    ///   <para>Scalar (R) render texture format, 16 bit floating point.</para>
    /// </summary>
    RHalf = 15, // 0x0000000F
    /// <summary>
    ///   <para>Single channel (R) render texture format, 8 bit integer.</para>
    /// </summary>
    R8 = 16, // 0x00000010
    /// <summary>
    ///   <para>Four channel (ARGB) render texture format, 32 bit signed integer per channel.</para>
    /// </summary>
    ARGBInt = 17, // 0x00000011
    /// <summary>
    ///   <para>Two channel (RG) render texture format, 32 bit signed integer per channel.</para>
    /// </summary>
    RGInt = 18, // 0x00000012
    /// <summary>
    ///   <para>Scalar (R) render texture format, 32 bit signed integer.</para>
    /// </summary>
    RInt = 19, // 0x00000013
    /// <summary>
    ///   <para>Color render texture format, 8 bits per channel.</para>
    /// </summary>
    BGRA32 = 20, // 0x00000014
    /// <summary>
    ///   <para>Color render texture format. R and G channels are 11 bit floating point, B channel is 10 bit floating point.</para>
    /// </summary>
    RGB111110Float = 22, // 0x00000016
    /// <summary>
    ///   <para>Two color (RG) render texture format, 16 bits per channel, fixed point, unsigned normalized.</para>
    /// </summary>
    RG32 = 23, // 0x00000017
    /// <summary>
    ///   <para>Four channel (RGBA) render texture format, 16 bit unsigned integer per channel.</para>
    /// </summary>
    RGBAUShort = 24, // 0x00000018
    /// <summary>
    ///   <para>Two channel (RG) render texture format, 8 bits per channel.</para>
    /// </summary>
    RG16 = 25, // 0x00000019
    /// <summary>
    ///   <para>Color render texture format, 10 bit per channel, extended range.</para>
    /// </summary>
    BGRA10101010_XR = 26, // 0x0000001A
    /// <summary>
    ///   <para>Color render texture format, 10 bit per channel, extended range.</para>
    /// </summary>
    BGR101010_XR = 27, // 0x0000001B
    /// <summary>
    ///   <para>Single channel (R) render texture format, 16 bit integer.</para>
    /// </summary>
    R16 = 28, // 0x0000001C
  }
}
